
    <!-- Button trigger modal -->
    <button style="margin-left:2px" type="button" class="btn {{pButtonClass}} btn-sm"
            data-toggle="modal" data-target="#{{pId}}">
        {{pButton}}
    </button>

    <!-- Modal -->
    <div class="modal fade" id="{{pId}}" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">{{pTitle}}</h4>
                </div>
                <div class="modal-body" ng-transclude>

                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>

                </div>
            </div>
        </div>
    </div>
